Cocaine (PaaS)

Short description: Platform as a service system

Cocaine

Developer(s)| Andrey Sibiryov and Yandex team
Initial release| March 20, 2011; 15 years ago (2011-03-20)
Stable release|

0.12.14.21 / November 29, 2017; 8 years ago (2017-11-29)

Written in| C++
Type| Web development
Website| github.com/cocaine

Cocaine (Configurable Omnipotent Custom Applications Integrated Network Engine) was an open-source PaaS system for creating custom cloud hosting apps that are similar to Bluemix, Google App Engine, or Heroku. Several services have already been implemented this way, including a service for detecting a user's region or language, a service for accessing MongoDB storage, and a URL fetcher.[1]

## Contents

* 1 History
* 2 Architecture
* 3 Applying the technology
* 4 References
* 5 External links

## History

Andrey Sibiryov, the original developer of Cocaine, got the idea from Heroku, another cloud PaaS. At that time, Heroku only supported applications developed in Ruby.[2] Using Heroku, the developer could create a Ruby app and push it to the cloud, while Heroku handled infrastructure and load balancing issues. Sibiryov was not satisfied with the documentation for Heroku and decided to create his own PaaS system.

Initially, Cocaine was a personal project for Sibiryov. This changed, however, when Yandex discovered an internal need for a scalable platform that could cope with millions of requests-per-second (RPS). Cocaine was, for a period of time, used in the Yandex infrastructure.[3]

## Architecture

The cloud is made up of one or more independent machines that have the Cocaine server (Cocained) installed. Users know nothing about the location of the services they are accessing—only the address of the load balancer and the app name are available to them. User requests are sent to the load balancer, which passes them to the cloud. In the cloud, the optimal machine is selected for each request, and then the request is executed. The infrastructure details and the app's environment settings are hidden from the developer, as well. The developer only needs to send the code to the cloud and write a special manifest for executing the code. It is not necessary to set up anything else, such as databases, key-value stores, or HTTP clients. There are services that do this, which from the programmer's point of view are native modules for the programming language the code is written in. For example, the Storage service lets users access Elliptics storage, and the Uatraits service uses data about a client's user agent and its HTTP headers to determine the characteristics of the device that sent the request.

## Applying the technology

In the cloud, apps can be written in various programming languages (C, C++, Go, JavaScript, Python, Ruby, and others) and frameworks (Node.js). Cocaine bound to a web server provides an automatically scalable deployment environment for web apps. The cloud manages large data volumes through a streamlined interface. Cocaine ensures reliable, high-performance message transmission with fault tolerance. Its load balancer enables responsive user-centric systems. Cloud apps run independently, supporting multiple versions and smooth user transitions to updated versions. Additionally, apps are tested in isolated cloud environments, preventing errors from affecting the physical system or other applications.

## References

1. ↑ "cocaine-docs". https://github.com/cocaine/cocaine-docs/tree/v0.11/doc/services_and_plugins.
2. ↑ "The Big Kickoff". https://blog.heroku.com/archives/2007/10/30/the_big_kickoff.
3. ↑ "Yandex's official documentation". http://api.yandex.com/cocaine/.

## External links

* v
* t
* e

Yandex

* Alice
* Cocaine (PaaS)
* Elliptics
* MatrixNet
* Yandex.Auto
* Yandex Browser
* Yandex.Checkout
* Yandex Disk
* Yandex.Direct
* Yandex.Drive
* Yandex Maps
* Yandex.Money
* Yandex Launcher
* Yandex.Navigator
* Yandex Search
* Yandex.Taxi
* Yandex.Translate
* Yandex Zen

* v
* t
* e

Cloud computing

As a service|

* Content as a service
* Data as a service
* Desktop as a service
* Function as a service
* Infrastructure as a service
* Mobile backend as a service
* Network as a service
* Platform as a service
* Security as a service
* Software as a service

Technologies|

* Cloud database
* Cloud storage
* Data centers
* Distributed file system for cloud
* Hardware virtualization
* Internet
* Native cloud application
* Networking
* Security
* Structured storage
* Virtual appliance
* Web APIs
* Virtual private cloud

Applications|

* Box
* Dropbox
* Google
* G Suite
* Docs, Sheets and Slides
* HP Cloud (closed)
* Microsoft Online
* Oracle Cloud
* Rackspace
* Salesforce
* Workday
* Zoho

Platforms|

* Alpha7
* Amazon Web Services
* AppScale
* Box
* Bluemix
* CloudBolt
* Cloud Foundry
* Cocaine (PaaS)
* Engine Yard
* Helion
* GE Predix
* Google App Engine
* GreenQloud
* Heroku
* Inktank
* Jelastic
* Mendix
* Microsoft Azure
* MindSphere
* Netlify
* Oracle Cloud
* OutSystems
* openQRM
* OpenShift
* PythonAnywhere
* RightScale
* Scalr
* Force.com
* SAP Cloud Platform
* VMware vCloud Air
* WaveMaker

Infrastructure|

* Amazon
* Abiquo Enterprise Edition
* CloudStack
* Citrix Cloud
* CtrlS
* DigitalOcean
* EMC Atmos
* Eucalyptus
* Fujitsu
* GoGrid
* Google Cloud Platform
* GreenButton
* GreenQloud
* IBM Cloud
* iland
* Joyent
* Lunacloud
* Mirantis
* Nimbula
* Nimbus
* OpenIO
* OpenNebula
* OpenStack
* Oracle Cloud
* OrionVM
* Rackspace Cloud
* Safe Swiss Cloud
* SoftLayer
* Zadara Storage
* libvirt
* libguestfs
* OVirt
* Virtual Machine Manager
* Wakame-vdc
* Virtual Private Cloud OnDemand

* Category
* Commons

* Cocaine PaaS, http://api.yandex.com/cocaine/
* "Search Engine Giant Yandex Launches Cocaine", TechCrunch, 2013-10-16, https://techcrunch.com/2013/10/16/search-engine-giant-yandex-launches-cocaine-a-cloud-service-to-compete-with-google-app-engine/
* "Russian Google Yandex Free Cloud Service Cocaine", The Guardian, 2013-10-17, https://www.theguardian.com/technology/2013/oct/17/russian-google-yandex-free-cloud-service-cocaine
* "Free Cocaine giveaway from Russian Search Engine Yandex", The Register, 2013-10-17, https://www.theregister.co.uk/2013/10/17/free_cocaine_giveaway_from_russian_search_engine_yandex/

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Cocaine_(PaaS)&oldid=678071"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template