Timeline of NewSQL databases:
graph LR
A["Google Spanner
2012"] --> B["CockroachDB
2015"]
B --> C["YugabyteDB| syntax = "proto3"; | |
| package proto; | |
| option go_package = "proto"; // Replace with your desired Go module path | |
| // The greeting service definition. | |
| service Greeter { | |
| rpc SayHello (HelloRequest) returns (stream HelloReply); | |
| } |
| import java.util.concurrent.*; | |
| import java.util.logging.Logger; | |
| import java.util.logging.Level; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class WorkerPool { | |
| private static final Logger logger = Logger.getLogger(WorkerPool.class.getName()); | |
| // simulateWork performs a time-consuming calculation (e.g., Fibonacci). |
| { | |
| "last_node_id": 104, | |
| "last_link_id": 167, | |
| "nodes": [ | |
| { | |
| "id": 80, | |
| "type": "ToBasicPipe", | |
| "pos": { | |
| "0": 509, | |
| "1": 445 |
| { | |
| "last_node_id": 88, | |
| "last_link_id": 142, | |
| "nodes": [ | |
| { | |
| "id": 80, | |
| "type": "ToBasicPipe", | |
| "pos": { | |
| "0": 509, | |
| "1": 445 |
| #https://colab.research.google.com/drive/1wXWyj5hOxEHY6WeHbOwEzYAC0WB1I5uA?usp=sharing#scrollTo=lHBHjlwgQesA | |
| from vllm import SamplingParams | |
| from vllm import LLM | |
| import re | |
| import requests | |
| from IPython.display import display, Markdown | |
| from vllm.distributed.parallel_state import destroy_model_parallel, destroy_distributed_environment |
| const kdbush = require('kdbush'); | |
| const geokdbush = require('geokdbush'); | |
| const haversine = require('haversine-distance'); | |
| // Example train track points as 2D vectors (longitude, latitude) | |
| let track_points = [ | |
| [longitude1, latitude1], | |
| [longitude2, latitude2], | |
| //... | |
| ]; |
Social media has become an integral part of modern life. Today, there are numerous social networks, such as Facebook, WhatsApp, Instagram, Twitter, and others, and their usage continues to grow [1]. These platforms enable users to connect with others, share information, and stay updated on global events. The popularity of social media can be attributed to various factors, including the need for connectivity, real-time updates, entertainment, and the ability to express opinions. Additionally, businesses have shifted their marketing strategies towards online platforms, targeting specific audiences [2]. Centralization of these social networks has led to various problems, which have recently become hot topics such as the spread of false news, misinformation, privacy concerns, and the lack of regulation [3]. To address these challenges, people have turned to Web 3.0 technologies, which offer potential solutions within the decentralized framework. The progression of Web 3.0, driven by the
Social media, which is used by most individuals, has become an integral part of modern lifestyle. However, these social networks use centralized servers to store user data, which is an approach shown to have many disadvantages such as users having no control over their data or the platform they use. This proposal presents a decentralized social network that utilizes the user's device as storage, while ensuring that data remains secure and authentic, with complete control over user data residing with the user. Furthermore, the implementation of a user data decentralization protocol, along with the design and deployment of a client application capable of seamless communication with other network peers via the decentralized protocol, form the central components of the proposed solution. This protocol is designed to not only be used in the proposed social network, but also to be used in other decentralized systems, such as distributed applications, and other decentralized sharing platforms. RPC sty