What is Cowboy?

Small overview with videocap from Phoenix Core Team Member about Cowboy 
12 September 2017   2290

What is Cowboy?

Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.

Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.

In this talk, Gary Rennie, a Phoenix Core Team Member, looked at the changes in Cowboy 2 and how we can use it with Plug and Phoenix by using a custom Plug adapter. He then looked at how this can be done using a library and integrating it with Plug. The same technique was then applied to Phoenix, writing a custom handler in a library and then using it with Phoenix. He also explored how HTTP/2 can be used to build a new Phoenix Transport, allowing Phoenix PubSub to work with a bidirectional HTTP/2 channel, investigate how existing transports work, and what changes are required to implement a custom transport.

Learn more at developer's website.

Apache CouchDB 3.0 to be Relaesed

New major released brings a lot of changes and updates to the document-oriented, NoSQL database
02 March 2020   355

A distributed document-oriented database Apache CouchDB 3.0, belonging to the class of NoSQL-systems, was released. The source code for the project is distributed under the Apache 2.0 license.

Some changes: 

  •   Default installations are now secure and locked down.
  •   Many large and small performance improvements
  •   Automatic view index warmer
  •   Smarter Compaction Daemon
  •   Smarter I/O Queue
  •   Much improved installers for Windows
  •   macOS binaries are now Notarized for full future Catalina support

CouchDB stores data in an ordered list format and allows partial replication of data between several databases in the "master-master" mode with the simultaneous detection and resolution of conflict situations. Each server stores its own local data set, synchronized with other servers, which can be switched offline and periodically replicate changes. In particular, this feature makes CouchDB an attractive solution for organizing program settings synchronization between different computers. CouchDB-based solutions have been deployed by companies such as BBC, Apple, and CERN.

Get more at the official blog