Why Uber Engineering Switched from Postgres to MySQL

Introduction
The early architecture of Uber consisted of a monolithic backend application written in Python that used Postgres for data persistence. Since that time, the architecture of Uber has changed significantly, to a model of microservices and new data platforms. Specifically, in many of the cases where we previously used Postgres, we now use Schemaless, a novel database sharding layer built on top of MySQL. In this article, we’ll explore some of the drawbacks we found with Postgres and explain the decision to build Schemaless and other backend services on top of MySQL.

The Architecture of Postgres
We encountered many Postgres limitations:
Inefficient architecture for writes
Inefficient data replication
Issues with table corruption
Poor replica MVCC support
Difficulty upgrading to newer releases
We’ll look at all of these limitations through an analysis of Postgres’s representation of table and index data on disk, especially when compared to the way MySQL represents the same data with its InnoDB storage engine. Note that the


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/79coVqut-3E/

Original article

Let’s Encrypt now fully supports IPv6

Let’s Encrypt is happy to announce full support for IPv6.

As IPv4 address space is exhausted, more and more people are deploying services that are only reachable via IPv6. Adding full support for IPv6 allows us to serve more people and organizations, which is important if we’re going to encrypt the entire Web.

IPv6 is an exciting step forward which will allow the Internet to grow and reach more people. You can learn more about it by watching this video from Google’s Chief Internet Evangelist, Vint Cerf. We’re looking forward to the day when both TLS and IPv6 are ubiquitous.

Let’s Encrypt depends on industry and community support. Please consider getting involved, and if your company or organization would like to sponsor Let’s Encrypt please email us at sponsor@letsencrypt.org.


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/C15hlqg9fZ4/full-ipv6-support.html

Original article

Surround 360 is now open source

Today we officially open-sourced the specs for Surround 360, our high-quality 3D-360 hardware and software video capture system. The open source project includes the hardware camera design and software stitching code that makes end-to-end 3D-360 video capture possible in one system — from shooting to video processing.We believe making the camera design and stitching code freely available on GitHub will accelerate the growth of the 3D-360 ecosystem — developers will be able to leverage the code, and content creators can use the camera in their productions. Anyone will be able to contribute to, build on top of, improve, or distribute the camera based on these specs. Video ikke tilgængeligDenne video kunne desværre ikke afspilles.Both the hardware design and software play a role in achieving a high-quality output. We’ve previously written about the hardware design of the camera and its importance in decreasing the processing time for the footage. Even though


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/brRjjPr3Yc8/

Original article

New attack that cripples HTTPS crypto works on Macs, Windows, and Linux

A key guarantee provided by HTTPS encryption is that the addresses of visited websites aren’t visible to attackers who may be monitoring an end user’s network traffic. Now, researchers have devised an attack that breaks this protection.
The attack can be carried out by operators of just about any type of network, including public Wi-Fi networks, which arguably are the places where Web surfers need HTTPS the most. It works by abusing a feature known as WPAD—short for Web Proxy Autodisovery—in a way that exposes certain browser requests to attacker-controlled code. The attacker then gets to see the entire URL of every site the target visits. The exploit works against virtually all browsers and operating systems. It will be demonstrated for the first time at next week’s Black Hat security conference in Las Vegas in a talk titled Crippling HTTPS with Unholy PAC.
“People rely on HTTPS to secure their communication even


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/Rp5lRrCfgSk/

Original article

Clear Linux Is Among the First Distros to Adopt Kernel 4.7, X.Org Server 1.18.4

 softpedia: A couple of days ago, Linus Torvalds announced the release of the Linux 4.7 kernel, and we were very curious to know which distribution will be the first to adopt it.


Original URL: http://feedproxy.google.com/~r/linuxtoday/linux/~3/k8Hn8dHlarc/clear-linux-is-among-the-first-distros-to-adopt-kernel-4.7-x.org-server-1.18.4-160726142013.html

Original article

Facebook Open Sources 360 Surround Camera With Ikea-Style Instructions

Reader joshtops writes: Facebook needs you to fill its News Feed, Oculus Rift, and Gear VR with 360 content. So today it put all the hardware and software designs of its Surround 360 camera on Github after announcing the plan in April. Thanks to cheeky instruction manual inspired by Ikea’s manuals, you can learn how to buy the parts, assemble the camera, load the image-stitching software, and start shooting 360 content. Essentially 17 cameras on a UFO-looking stick, the 360 Surround camera can be built for about $30,000 in parts. The 4-megapixel lenses can shoot 4K, 6K, or 8K 360 video, and fisheye lenses on the top and bottom remove the blindspots. Facebook forced a random engineer to try to build the 360 Surround from the open source instructions, and found it took about four hours.FastCompany has more details.

Read more of this story at Slashdot.


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/U-XTgh_x_Ng/facebook-open-sources-360-surround-camera-with-ikea-style-instructions

Original article

Onward from the Hard Fork

Posted by Vitalik Buterin
on July 26th, 2016.

The foundation has committed to support the community consensus on the admittedly difficult hard fork decision. Seeing the results of various metrics, including carbonvote, dapp and ecosystem infrastructure adoption, this means that we will focus our resources and attention on the chain which is now called ETH (ie. the fork chain). That said, we recognize that the Ethereum code can be used to instantiate other blockchains with the same consensus rules, including testnets, consortium and private chains, clones and spinoffs, and have never been opposed to such instantiations.
All users who had ETH before block 1920000 now have both ETH (the fork chain) and ETC (the community effort to continue the no-fork chain). Users are generally advised that most Ethereum client defaults, including clients developed by the Foundation and by third parties (eg. Parity), will select the ETH chain; if you are offered a choice


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/xAzOJSabtPQ/

Original article

Book Review System Using Python Django

README.md

Project training how to use django

Demo: http://brs-framgia.herokuapp.com/

Installation

Usage

Create virtualenv

mkvirtualenv name_virtualenv
workon name_virtualenv

Install environment with requirements.txt

pip install requirements.txt

Migrate database

Create superuser

python manage.py createsuperuser (user login admin)

Copy file and folder in folder data_test to folder root.
Dumpdata and loaddata

python manage.py dumpdata > [name.json]
python manage.py loaddata [name.json]

Run

python manage.py runserver port

Task Admin

1. Login
1. Signin, Signout
2. Profile
1. Change profile
2. Change password
3. User
1. List all user register
2. Delete user
3. View detail user
4. Book
1. List all book
2. View detail book
3. Add, edit, delete book
5. Request
1. List all request
2. View detail request
3. Update, delete request

Task User

1. Can register for app
2. Can signin, signout
3. Can see the list of all books
4. Can search books by title, category, rating, favorite, etc.
5. Can rate and write a review for book (also can edit, delete it)
6. Can comment to a review (also can edit, delete it)
7. Can mark a


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/FCEwqxCq4lc/brs

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: