Conversely, PubNub supports an unlimited number of PubNub channels. This allows every end-user device to have its own channel for one-to-one connectivity.
Sunday, November 27, 2016
SQL Server
SQL Server Data File, Log File
http://blog.sqlauthority.com/2013/08/14/sql-server-sql-basics-database-datafiles-and-logfiles-day-8-of-10/
Thursday, November 3, 2016
Monday, October 31, 2016
Redis
https://github.com/MSOpenTech/Redis
https://github.com/StackExchange/StackExchange.Redis
http://objectrocket.com/blog/how-to/10-quick-tips-about-redis/
https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f
http://www.slideshare.net/noahd1/redis-in-practice
Redis on Windows
https://github.com/MicrosoftArchive/redis/releases
Wednesday, October 26, 2016
SQL Server Maintenance & Trouble Shooting
https://ola.hallengren.com/
http://sqlblog.com/blogs/adam_machanic/archive/2016/01/04/sqlquerystress-the-source-code.aspx
https://www.brentozar.com/archive/2010/09/sql-server-dba-scripts-how-to-find-slow-sql-server-queries/
EXEC sp_WhoIsActive
http://www.solarwinds.com/
http://www.solarwinds.com/aws-dpa
installed solarwinds for mysql
https://www.mssqltips.com/sqlservertip/2730/sql-query-stress-tool/
Saturday, October 22, 2016
Elastic Search
http://siddhumehta.blogspot.com/2014/05/elasticsearch-tutorial-elasticsearch-gui-tools.html
https://www.elastic.co/
https://aws.amazon.com/elasticsearch-service/
https://github.com/fullscale/elastic.js/
https://github.com/danpaz/bodybuilder
https://www.elastic.co/blog/found-sense-a-cool-json-aware-interface-to-elasticsearch
https://github.com/KunihikoKido/atom-elasticsearch-client
https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/cloud-aws-best-practices.html
http://appbaseio.github.io/dejaVu/
http://appbaseio.github.io/mirage/
https://github.com/ozlerhakan/mongolastic
https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/integrations.html
http://stackoverflow.com/questions/37413901/which-javascript-node-module-is-best-for-elastic-search-query-dsl
https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html
search
edit
client.search([params, [callback]])
Return documents matching a query, aggregations/facets, highlighted snippets, suggestions, and more. Write your queries as either simple query strings in the
q
parameter, or by specifying a full request definition using the Elasticsearch Query DSL in the body
parameter.
The default method is
POST
and the usual params and return values apply. See the elasticsearch docs for more about this method.Tuesday, October 18, 2016
Saturday, October 8, 2016
Big Data - Part3
https://www.quora.com/What-can-you-do-with-Amazon-Kinesis
http://docs.fluentd.org/articles/kinesis-stream
http://www.slideshare.net/sonots/fluentd-hacking-guide-at-rubykaigi-20140920?next_slideshow=1
http://www.slideshare.net/treasure-data/fluentd-loves-mongodb-at-mongosv-july172012/39-Fluentd_Plugin_forTuesday_July_17
http://www.slideshare.net/tamuraaa/life-of-an-fluentd-event?qid=31ec332f-bc6b-4940-bdf2-fa9b5b04ae22&v=&b=&from_search=11
http://www.slideshare.net/sonots/fluentd-hacking-guide-at-rubykaigi-20140920?next_slideshow=1
http://www.slideshare.net/treasure-data/fluentd-loves-mongodb-at-mongosv-july172012/39-Fluentd_Plugin_forTuesday_July_17
http://www.slideshare.net/tamuraaa/life-of-an-fluentd-event?qid=31ec332f-bc6b-4940-bdf2-fa9b5b04ae22&v=&b=&from_search=11
https://www.quora.com/Which-is-better-Cloud-Data-Science-Platform-or-dominodatalab-com-Are-there-any-other-platforms-that-I-should-consider
https://www.dominodatalab.com/resource/data-science-experiments#
http://searchengineland.com/google-data-studio-258871
http://www.iacquire.com/blog/15-google-analytics-alternatives
Event Tracking:
https://mixpanel.com/help/reference/tracking-an-event
https://firebase.google.com/docs/analytics/ios/events
https://www.quora.com/Were-considering-using-Mixpanel-as-an-analytics-platform-for-our-new-app-Someone-has-recommended-we-use-Firebase-instead-Are-they-comparable
https://blog.treasuredata.com/blog/2016/03/09/evaluating-analytics-saas-raw-data-access-capabilities/
BigQuery
https://www.youtube.com/watch?v=D-YrpJkuGqE
https://www.thinkful.com/learn/google-bigquery-tutorial/#Exploring-GitHub-Data
https://www.safaribooksonline.com/library/view/the-deep-learning/9781491965115/video246708.html
9 Data Platform
http://www.confluent.io/
http://www.h2o.ai/
http://www.atscale.com/
https://algorithmia.com/
https://www.bedrockdata.com/product/overview
https://rjmetrics.com/product
http://my-netdata.io/
---
https://obviate.io/2015/08/05/tutorial-aws-api-gateway-to-lambda-to-dynamodb/
http://www.davekonopka.com/2016/serverless-aws-lambda-api-gateway.html
https://www.datawire.io/3-reasons-aws-lambda-not-ready-prime-time/
Tutorials:
https://www.quora.com/Can-we-become-data-scientist-by-going-through-online-tutorials
Tuesday, September 13, 2016
Sunday, September 4, 2016
Friday, September 2, 2016
Wednesday, August 31, 2016
Monday, August 22, 2016
Sunday, August 21, 2016
Saturday, August 13, 2016
Load Testing
Using this
https://chrome.google.com/webstore/detail/restful-stress/lljgneahfmgjmpglpbhmkangancgdgeb?hl=en]
https://loadimpact.com/
https://www.blitz.io/login
https://loader.io/
http://alternativeto.net/software/blitz-io/
https://www.slant.co/topics/138/~load-testing-services
http://stackshare.io/load-and-performance-testing
Tuesday, August 9, 2016
Lauch App from Browser
https://msdn.microsoft.com/subscriptions/json/GetDownloadRequest?brand=MSDN&locale=en-us&fileId=69105&activexDisabled=true&akamaiDL=false
http://stackoverflow.com/questions/916925/how-to-launch-an-exe-from-web-page-asp-net
Wednesday, August 3, 2016
Magento Cloud
Reference
- install 2 vm ubuntu 14 LTS (https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-magento-on-ubuntu-14-04)
- web open port 80 & 22
- db : open port 22 & 3306
- web : (reference https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04)
- sudo apt-get update
- sudo apt-get install apache2 (apache/2.4.7)
- sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
- sudo nano /etc/apache2/mods-enabled/dir.conf
- sudo service apache2 restart
- sudo apt-get install php5-cli
- sudo nano /etc/apache2/sites-available/magento.conf
- sudo a2ensite magento.conf
- sudo a2dissite 000-default.conf
- sudo apt-get install libcurl3 php5-curl php5-gd php5-mcrypt
- sudo a2enmod rewrite
- sudo php5enmod mcrypt
- cd ~ && wget http://www.magentocommerce.com/downloads/assets/1.9.0.1/magento-1.9.0.1.tar.gz
- tar xzvf magento-1.9.0.1.tar.gz
- sudo rsync -avP ~/magento/. /var/www/html/
- sudo chown -R www-data:www-data /var/www/html/
- sudo apt-get install mysql-client
- apt-get install php5-mysql
- db :
- sudo apt-get update
- sudo apt-get install mysql-server
- sudo mysql_install_db
- mysql -u root -p
- CREATE DATABASE magento;
- CREATE USER 'mangento2'@'localhost' IDENTIFIED BY 'password';
- GRANT ALL PRIVILEGES ON *.* TO 'mangento2'@'localhost' WITH GRANT OPTION;
- CREATE USER 'mangento2'@'%' IDENTIFIED BY 'password';
- GRANT ALL PRIVILEGES ON *.* TO 'mangento2'@'%' WITH GRANT OPTION;
- FLUSH PRIVILEGES;
- exit;
- sudo nano /etc/mysql/my.cnf (Bind address 0.0.0.0)
- mysqld --help --verbose
- Install ubuntu 14.04 LTS
- Install apache2
- install php
- seed the mysql DB :
- unzip the shopping in web root
- Change the config file
Chef :
CloudFormation Template:
- install aws command line tools
- $ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
$ unzip awscli-bundle.zip
$ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws - aws cloudformation create-stack --stack-name myteststack2 --template-body file://///Projects/cc/cf/shop.json
- aws cloudformation delete-stack --stack-name myteststack2
Chef + cloudformation
Setting up chef
Vagrant:
- vagrant box add win81 http://aka.ms/vagrant-win81-ie11
Mac Setup
$ brew tap caskroom/cask
$ brew install brew-cask
$ brew cask install google-chrome
$ brew update && brew upgrade brew-cask && brew cleanup
$ brew install brew-cask
$ brew cask install google-chrome
$ brew update && brew upgrade brew-cask && brew cleanup
- brew cask install virtualbox
- brew cask install vagrant
- brew cask install vagrant-manager
- vagrant box add precise64 http://files.vagrantup.com/precise64.box
- vagrant init precise64
- vagrant up
- vagrant ssh
- vagrant halt
- mkdir -p ~/chef/cookbooks/helloworld/recipes
$ echo '
file "/tmp/helloworld.txt" do
owner "ubuntu"
group "ubuntu"
mode 00544
action :create
content "Hello, Implementor!"
end' > ~/chef/cookbooks/helloworld/recipes/default.rb - echo '
{
"run_list": [ "recipe[helloworld]" ]
}' > ~/chef/node.json - echo '
file_cache_path "/home/vagrant/chef"
cookbook_path "/home/vagrant/chef/cookbooks"
json_attribs "/home/vagrant/chef/node.json"
' > ~/chef/solo.rb
RUBY
//setting up chefdk for Ruby
- brew install chruby
- brew install ruby-install
- ruby-install ruby 2.2
Chef DK
install chef & Ruby
- brew cask install virtualbox
- brew cask install vagrant
- brew cask install vagrant-manager
- brew cask install chefdk
- vagrant plugin install vagrant-berkshelf
- vagrant plugin install vagrant-omnibus
- vagrant plugin install vagrant-chef-zero
- vagrant plugin install vagrant-vbguest
Good one
VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0
brew cask install sublime-text
Test app:
https://box.scotch.io/ (this works)
https://github.com/r-baker/simple-magento-vagrant (this works)
good one
Performance & Scalability:
Tools
- FastCGI
VPC:
AWS re:Invent 2014 | (SDD422) Amazon VPC Deep Dive
VPC Security
Network ACL : Stateless lives on network level, outbound and inbound rules need to be specified
Security Group : Stateful default outbound rules are allowed
3 Security Groups
DB security groups,
VPC security groups, and
EC2 security groups
cd /etc/apache2/site-enabled
NAT Instance
DB Subnet Groups
RDS Essentials
Magento Install
sudo apt-get install -y ssh
sudo apt-get install -y apache2
sudo apt-get install -y php5 libapache2-mod-php5
sudo apt-get install -y php5-mysqlnd php5-curl php5-gd php5-intl php-pear php5-imap php5-mcrypt php5-ming
sudo apt-get install -y php5-ps php5-pspell php5-snmp php5-recode php5-sqlite php5-tidy php5-xmlrpc php5-xsl php-soap
VPC:
Building A Non-Default VPC
Database:
Load test on DB
Best Practice
- Have a subnet block that does not overlap with local network
- VPC for Dev,Stage,Prod (VPC peering)
- Security
- Firewall Virtual appliance
- VM encryption
DNS
Deployment
BOTO
Reference:
Vagrant local dev
SMTP Config
SMTP USER
SSL Config
Subscribe to:
Posts (Atom)