Code Monkey home page Code Monkey logo

starwing / pelagia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from j444obs/pelagia

0.0 2.0 0.0 1.13 MB

Automatic parallelization (lock-free multithreading thread) tool developed by Surparallel Open Source.Pelagia is embedded key value database that implements a small, fast, high-reliability on ANSI C.

Home Page: https://www.surparallel.org

License: GNU Affero General Public License v3.0

Makefile 0.60% C 93.15% Objective-C 0.21% Lua 4.79% C++ 1.25%

pelagia's Introduction

pelagia C Ubuntu C Macos

Introduce

Pelagia is an automatic parallelization tool (lock-free) developed by surparallel open source based on the concept of sequential virtual machine. Pelagia is developed by ANSI C, abides by AGPL protocol, and supports multiple operating systems and languages. It supports automatic parallelization, transparent thread calling, embedded key value database, embedded multi language running environment, and provides API and documents for each language. The set concept in Boolean algebra is used to describe the operation of data. Including key, value, ordered set, index set and other types.

Principle

Pelagia slices the attribute according to the ECS program. According to the property read and write different automatically allocated to different threads to improve the efficiency.Pelagia is very impressed with writing. All the table written from the order must be allow by "plg_MngAddTable".To use the following methods in order, you need to set write permissions. Otherwise, the write will fail.

plg_JobSet
plg_JobMultiSet
plg_JobDel
plg_JobSetIfNoExit
plg_JobTableClear
plg_JobRename
plg_JobSAdd
plg_JobSMove
plg_JobSPop
plg_JobSDel
plg_JobSUionStore
plg_JobSInterStore
plg_JobSDiffStore

Related resources

Pelagia website: https://surparallel.org

Example

You can find the relevant sample code in psimple.c, profesa.c under the source code.

Environmental installation

Install on Linux system

Linux&Mac installation is very simple, just download the source package and decompress and compile it on the terminal. This article uses version 0.1 for installation:

git clone https://github.com/surparallel/pelagia.git
cd pelagia/src
make linux

Install on Mac OS X

git clone https://github.com/surparallel/pelagia.git
cd pelagia/src
make macosx

Install on window system

After decompression, enter the msvcs directory and open pelagia.sln for compilation.

Using Pelagia as a Control and Dao framework on the client

Pelagia is data and logic management tool for clients. By separating view and control, software complexity is reduced, development efficiency and view performance are improved.

pelagia's People

Contributors

gantleman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.