Friday 31 July 2015

server connection

rwasa High Performance Web Server Claiming to be Better than nginx and lighttpd

web server
2 Ton Digital – a company which provides products, services and support for any company or individual that is interested in security, network performance, website speed and hardware efficiency – is claiming that they have made a web server called rwasa which is faster than nginx and lighttpd.
Rwasa is build using 2 Ton Digital’s HeavyThing Library toolkit. It is a high-performance web server with specific focus on performance across the board, and a TLS (security) performance increase over otherOpenSSL servers. It is a drop-in replacement to nginx and many other web servers. Being hand written with assembly language, cryptography has given rwasa a significant speed and efficiency increase. Unlike other servers, rwasaincludes function hooks (ready made to facilitate Rapid Web Application Server in Assembler development) to allow custom programming at the web server level along with direct manipulation of web requests and responses.
Assembly language is the most “basic” programming language and requires the highest level of technical proficiency. This is because assembly language code is written per the actual CPU manufacturers instructions, i.e. an assembly language instruction in most cases corresponds directly to a physical CPU instruction. This allows programmers to write code that is faster and more efficient than any other language used today, because all higher-level languages must eventually be composed into assembly language itself. But, with all these writing code in assembly language is very complicated and that’s why high-level languages have dominated the market. 2 Ton Digital’s has made a toolkit called HeavyThing Library for building and modifying code in assembly language easier and more efficient than ever before.
Coming back to rwasa- it is a full-featured, high-performance, scalable web server designed to compete with the likes of nginx. It has been built from the ground-up with no external library dependencies entirely in x86_64 assembly language, and is the result of many years’ experience with high volume web environments.
Let’s look at the concrete features of rwasa-
  • Open source/GPLv3
  • Entirety hand-written in x86_64 assembly language
  • Faster than nginx for most environments
  • Commercial support available
  • TLS auto-blacklisting for anti-tampering
  • OCSP Stapling by default
  • Randomized Diffie-Hellman safe prime pool
  • Multi-process lockless TLS session resumption cache
  • TLS session cache is encrypted by default
  • Faster dynamic content compression
  • Large-scale FastCGI safely via unix sockets (without hitting EAGAIN)
  • Large-scale backpath (aka upstream) safely via unix sockets
  • Simple command-line arguments covers all common configurations
  • Small footprint, no external dependencies
  • Server-side BREACH mitigation
  • HSTS enabled by default
Following are the results of performance test with nginx and lighttpd. Below graph shows the raw requests per second handling per-CPU of each web server with

No TLS, localhost, flat out

rwasa web server
Raw requests per second handling per-CPU of each web server – No TLS, localhost, flat out

TLS, RSA 2048 bit keys

rwasa web server
Raw requests per second handling per-CPU of each web server – TLS, RSA 2048 bit keys

TLS, RSA 4096 bit keys

rwasa web server
Raw requests per second handling per-CPU of each web server – TLS, RSA 4096 bit keys
Looking at the performance benchmark it surely looks like rwasa is outperforming nginx and lighttpd. I am hoping if developers are ready to adapt it, there will be a huge improvement on web server response time altogether. 

russian weapon

Russian Superweapon That Can “Switch Off” All Enemy Satellites


russian-superweapon
A Topol-M missile on MZKT-79221 mobile launcher (Image: Wikipedia)
With the ever advancing technology, the modes of warfare have also developed with time to become more sophisticated. The countries are not just banking upon their defense officers and soldiers to protect them or win a battle when comes the situation, but they also are testing and developing high-end superweapons to give them an advantage, and also reduce casualties. Recently, US Military came into limelight when they signed a deal with Malloy Aeronautics for a new class of Tactical Reconnaissance Vehicle (TRV).
This time it is Russia that has claimed of a revolutionary superweapon that has the capability to dilapidate enemies’ satellites and the cruise weapons guided by them. It is a means of a modern electronic warfare that causes less human destruction compared to earlier means. This weapon has the potential to shut down all the satellite-based radio-electronic equipment of the target.
The new system is being developed by Russia’s Radio-Electronic Technologies Group (KRET) and it complies with the International Weapons Law, means it won’t be mounted on the satellites, but would be used from the ground, air, and sea.
The Russian superweapon can completely mute all the communications, navigation, and other satellite-guided precision missiles. Basically it could just ‘Switch Off’ the enemy satellites, thus making their sophisticated weapons useless.
Currently, the weapon is ongoing ground testing and will be taken out for trials at testing ranges later this year. With efforts from various countries and organizations to get Nuclear Weapons banished across the world, are we looking at the more advanced Electronic Warfare; could this new system really be Russia’s Superweapon against the world?

android clean up

Top 5 Cleaner apps that help users to clean up the junk from Android smartphones and tablets0

With the Android and Windows, downloading new apps from Play store and browsing the internet has become very much easier. However this mechanism involves storing a lot of cookies, unwanted junk files and web links in the device. Hence, it is always advisable to get into a routine clean up of your devices for ensuring its safety and also to claim back storage. While a bad cleaner app can block the disk space and even could possibly infect the device with unwanted virus and malwares however, not all cleaner apps are bad. Given below are top 5 Cleaner Apps that are worth using.

CCleaner

Piriform has created an excellent cleaner known as CCleaner. CCleaner is the ultimate cleaner application which wipes off the junk files and makes the Windows and Android devices much cleaner and faster. The PiriForm CCleaner application also identifies the Junk data on the device through various scripts and codes and this cleaner will not delete any data without user’s permission or command. The app also gives insight on which Android application is demanding a lot of performance. Major features of CCleaner are:
  • It helps in increasing the speed of the phone as it can delete application cache, browser history, clipboard content and old call logs to name few of its features.
  • stalled applications can be removed quickly hence the reclamation of available storage space is easy with the CCleaner.
  • It is very easy to use even for first time users as it has been provided with simple User Interface helping users to get into the cleaning mode with just simple clicks.
  • No root necessary
Piriform CCleaner can be downloaded for free of cost from below given site: https://www.piriform.com/ccleaner-android.

Clean Master

Its an excellent all-in-one package. Its cleans the junk accurately, its super fast and has good User Interface and it has a superior award winning antivirus.  Lets check the main features:
  • Cooling feature: This feature helps user to find the app which is causing the device to overheat and stop that app thus helping user to get a longer lasting battery.
  • Junk cleaner: Deletes cache and unused files to reclaim storage space hence improve the performance and speed of the device and SD card.
  • AppManager: Helps user to Uninstall unwanted apps or bloatware and back up the important files.
  • Antivirus: Scans the system for viruses, trojans, vulnerabilities, adware and spyware. Clean Master also removes personal information from the device hence helps to maintain privacy of the user.
  • Memory booster: Helps users to boost games and apps, free up the CPU memory (RAM) which in turn helps to speed up the device and save more battery.
  • No root necessary in this app.
Clean Master can be installed for free of cost from  https://play.google.com/store/apps/details?id=com.cleanmaster.mguard&hl=en

Startup Manager

It has been observed that sometimes the booting of the device takes a very long time especially with the smartphones which has the latest models that accompany with a lot of hardware power. As with other Operating systems Android too can be configured with certain apps at its booting stage and hence the booting takes a longer time. There is another possibility wherein certain apps add up to the startup list on their own without user’s knowledge and even this could add up to the booting time.
Now, the Startup Manager cleanup app, comes into the picture. The Startup Manager detects all the apps which run at startup, this includes the system apps as well as the user-installed apps. Once Startup Manager detects the trouble causing app, user would just need to disable that app from system startup by unchecking  the application from the list …Please note the item could be rechecked to restore and it will start again hence using Startup Manager is quite easy. The Startup Manager works on non-rooted devices. For free download use this site: https://play.google.com/store/apps/details?id=imoblife.startupmanager
Duplicate Contacts & Utilities
As the name suggests this is a simple app that can help user to get rid of duplicate contacts and the app also has some features which can help user to manage their contacts in much organized way. The app has some useful features which can be downloaded free of cost, to name a few: Duplicate Contacts Detector; Duplicate Contacts Remover based on Number and Name; Remove Unused and Duplicate Email Contacts; Remove Duplicates With In a Contact including Invisible and Empty Contacts; Import or Export Contacts on PDF and excel spreadsheets. The Exact Duplicate Removal and Merge Duplicate Contacts features are the Pro features or the paid services.
This app does not require to be rooted and it is easiest, fastest and secured way to organize the contact list in Android devices. To download the app visit this site: https://play.google.com/store/apps/details?id=com.makelifesimple.contactsutility

History Eraser

The History Cleaner helps user to clear the history of the apps on their devices. No root permission is required for this app. Usually the smartphone apps tend to use a lot of details from the history of the visited sites just for purpose of snooping for e.g. some ad agencies. With the History Eraser user can thus clear the history of the different apps and protect their privacy from snoopers and it also helps user to free up the internal storage.
With a single click History Eraser automatically clears Call logs, Browser history, Text messages, Google Search history, Gmail search history, YouTube history, all the Cache files, Clipboard data and many more. The History Eraser is available for free of cost however this version is accompanied with ads hence user can upgrade for paid version and get an ad free service. For downloads use this site: https://play.google.com/store/apps/details?id=mobi.infolife.eraser&hl=en
These are few of the Cleaner apps which can help user to get a better performance from their Android smartphones and tablets along with an increase in the storage space. Users can feel free to suggest the apps which they are using currently to clean up their devices and feel are better than the ones mentioned above. Please leave the details in the comment so that other readers might get benefit from those apps.

windows 10

How to Change Default Browser and Programs in Windows 10

windows-10-free-update
Short Bytes : Windows 10 upgrade keeps your files, apps, and settings, but it changes your app preferences of last OS. Today I’m going to tell you  how to change default browser and programs in Windows 10. This isn’t some rocket science, but those who are having troubles navigating through new  Window 10, they’ll find it helpful.
Windows 10 is now released and people have upgraded their PCs to the last version of Windows. To smoothen the upgrade process, Microsoft has even released a media creation tool that upgrades genuine Windows 7 and 8 PCs to Windows 10 without the need of any upgrade icon. You can also read our special Windows 10 FAQs that will make the upgrade terms and issues clear to you. Well, I’ll assume that you’re here as you’ve already installed Windows 10 on your PC.
Microsoft promises that Windows 10 upgrade will save your apps and preferences. It keeps the files and app nicely, but some default programs in Windows 10 are changed fro what you had selected in your previous OS. So, today I’m going to tell you how to change default browser and programs in Windows 10.
As compared to the earlier versions of Windows, changing default apps and preferences needs a couple of more clicks. This has even urged Mozilla CEO to write an angry open letter to Microsoft CEO asking to bring back the choice and control to users.
For changing default browser and programs in Windows 10, there are two methods. One is using the new Settings app and the other one is our vintage Control Panel method. Let’s tell you how to it one by one:

How to change default browser and programs in Windows 10 using Windows 10 Settings app?

Using the Settings, not all default apps can be changed. These programs include Music Player, Browser, Video Player, Mail, Calender, and Video Player. For these settings, take a look at how to change default browser and programs in Windows 10 using this method:
Press Win+I to open the system menu. Here you can multiple options like system, personalization, update and security etc. Click on “System”.
windows-10-default-programs-browser-1
Now you’ll see a new window before you with “System” settings. It’ll be having options like Display, Notifications & actions, Apps & Features etc. Locate “Default apps” at the bottom of the list. Click on it.
windows-10-default-programs-browser-1
A new window will open with default apps for Music Player, Browser, Video Player, Mail, Calender, and Video Player. To change the default app, you need to click on any one of these and a small pop up with the complete list of available apps will appear. Here, you can select you default app.
windows-10-default-programs-browser-1
This method provides only a few preferences. To dig deeper and change more settings, you can use the Control Panel method.

How to change default browser and programs in Windows 10 using Windows 10 Control Panel?

Open Comtrol Panel on your Windows 10 PC by typing in the search box, or by right-clicking on the Start button to reveal different options. When Control Panel is opened, locate “Default Programs” and click on it.
windows-10-default-programs-browser-
In the Default Programs windows, you can see different setting related to the programs Windows uses by default. Find “Set your default programs” at the top of the list and click on it.
windows-10-default-programs-browser-
Now comes the final step. You can see all the programs listed in the left and the options related to them in the right. To make any program a default program, or to check its status, you jut need to click on it. Doing this, available options will appear on the right. You can now make this app a default program or customize it a bit more. This was all about this tutorial on how to change default browser and programs in Windows 10.
windows-10-default-programs-browser-
Did you find this tutorial regarding how to change default browser and programs in Windows 10 helpful? Tell us in comments below.

open source at twitter

Open Source at Twitter
Welcome to the second post of the series covering top open source projects by most popular companies in the world. Last time, we covered Facebook’s contribution to open source communityand in this article, we are going to highlight most popular open source projects made by twitter engineering team.
Twitter engineers use, contribute to and release a lot of open source software and their GitHub repo is a proof of that. Twitter has 131 public repos, maintained by 116 active twitter members around the globe. Twitter as such started as a simple Ruby on Rails application but soon realized that – to meet the scale demand of twitter, they need to re-invent and revamp the entire platform. And while doing that, they had implemented and open sourced many great projects. Twitter also maintains an open source community Twitter handle @TwitterOSS.
Top Twitter open source projects are:

Scalding

Scalding is a Scala library that makes it easy to specify Hadoop MapReduce jobs. Scalding is built on top of Cascading, a Java library that abstracts away low-level Hadoop details. Scalding is comparable to Pig, but offers tight integration with Scala, bringing advantages of Scala to your MapReduce jobs.

Finagle

Finagle is used in production at Twitter (and many other organizations), and is being actively developed and maintained. Finagle is an extensible RPC system for the JVM, used to construct high-concurrency servers. Finagle implements uniform client and server APIs for several protocols, and is designed for high performance and concurrency. Most of Finagle’s code is protocol agnostic, simplifying the implementation of new protocols.

Finatra

Finatra is a sinatra-inspired agile web framework for scala, it runs on top of Finagle.

Ambrose

Twitter Ambrose is a platform for visualization and real-time monitoring of MapReduce data workflows. It presents a global view of all the map-reduce jobs derived from your workflow after planning and optimization. As jobs are submitted for execution on your Hadoop cluster, Ambrose updates its visualization to reflect the latest job status, polled from your process.
ambrose UI

Parquest

Parquet is a columnar storage format that supports nested data. Parquet metadata is encoded using Apache Thrift. Twitter created Parquet to make the advantages of compressed, efficient columnar data representation available to any project in the Hadoop ecosystem.

Summingbird

Summingbird is a library that lets you write MapReduce programs that look like native Scala or Java collection transformations and execute them on a number of well-known distributed MapReduce platforms, including Storm and Scalding.

Bootstrap

Bootstrap is a well-known web UI framework used by thousands of companies today. It is a sleek, intuitive and powerful mobile first front-end framework for faster and easier web development.

Bower

Bower is a package manager for the web originally created at Twitter and adopted by a large community. It offers a generic, un-opinionated solution to the problem of front-end package management. It exposes the package dependency model via an API, that can be consumed by a more opinionated build stack. Bower runs over Git and is package-agnostic. A packaged component can be made up of any type of asset and use any type of transport.

Flight

Flight is a lightweight, component-based, event-driven JavaScript framework that maps behavior to DOM nodes. It was created at Twitter, and is used by the Twitter.com and TweetDeck web applications.

Typeahead

Inspired by twitter’s autocomplete search functionality, typeahead.js is a flexible JavaScript library that provides a strong foundation for building robust typeaheads.

Twemcache

Twemcache  is the Twitter Memcached. Twemcache is based on a fork of Memcached v1.4.4 that has been heavily modified to make to suitable for the large scale production environment at Twitter.

FlockDB

FlockDB is a distributed graph database for storing adjacency lists. FlockDB is much simpler than other graph databases such as neo4j because it tries to solve fewer problems. It scales horizontally and is designed for on-line, low-latency, high throughput environments such as websites. Twitter uses FlockDB to store social graphs (who follows whom, who blocks whom) and secondary indices. As of April 2010, the Twitter FlockDB cluster stores 13+ billion edges and sustains peak traffic of 20k writes/second and 100k reads/second