All Projects → jwpttcg66 → game-executor

jwpttcg66 / game-executor

Licence: Apache-2.0 license
采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多…

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to game-executor

react-native-event-bus
Event bus for react native, cross-interface communication solution, it works on iOS and Android.
Stars: ✭ 48 (+71.43%)
Mutual labels:  eventbus, event-bus
Mystral
Mystral (pronounced "ˈMistrəl") is an efficient library to deal with relational databases quickly.
Stars: ✭ 13 (-53.57%)
Mutual labels:  executor
Axon
Unrestricted Lua Execution
Stars: ✭ 59 (+110.71%)
Mutual labels:  executor
rauc-hawkbit-updater
The RAUC hawkBit updater is a simple commandline tool/daemon that runs on your target and interfaces between RAUC and hawkBit's DDI API.
Stars: ✭ 40 (+42.86%)
Mutual labels:  update
updatarium
Updatarium : Update everything
Stars: ✭ 14 (-50%)
Mutual labels:  update
python-tuf
Python reference implementation of The Update Framework (TUF)
Stars: ✭ 1,425 (+4989.29%)
Mutual labels:  update
transceiver
Channel based event bus with request/reply pattern, using promises. For node & browser.
Stars: ✭ 25 (-10.71%)
Mutual labels:  event-bus
crontab
cron expression parser and executor for dotnet core.
Stars: ✭ 13 (-53.57%)
Mutual labels:  executor
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+157.14%)
Mutual labels:  update
vscode-updater
A simple script to automate downloading, installing and restarting Visual Studio Code.
Stars: ✭ 59 (+110.71%)
Mutual labels:  update
vertx-vue-keycloak
This repo holds the source codes for the Medium Article "Vert.x + VueJS + OAuth2 in 5 steps"
Stars: ✭ 20 (-28.57%)
Mutual labels:  eventbus
taps
TUF Augmentation Proposals (TAPs)
Stars: ✭ 23 (-17.86%)
Mutual labels:  update
bump
A generic version tracking and update tool
Stars: ✭ 33 (+17.86%)
Mutual labels:  update
smol
Uma game engine desenvolvida ao longo de uma série de vídeos do canal https://www.youtube.com/gamedevlog
Stars: ✭ 23 (-17.86%)
Mutual labels:  gameengine
microservice-architecture-quick-start
Demonstrates how to build a Microservices Architecture using the C # language and the ASP.NET Core environment.
Stars: ✭ 16 (-42.86%)
Mutual labels:  eventbus
MASA.BuildingBlocks
Building blocks of the MASA Stack, provides a unified interface standard for MASA Contrib's implementation specifications and process connector.
Stars: ✭ 119 (+325%)
Mutual labels:  eventbus
Alpine
Basic event system framework using functional interfaces
Stars: ✭ 79 (+182.14%)
Mutual labels:  eventbus
BeatSaber UpdateSkipper
Simple tool to prevent Steam from Updating Beat Saber whenever there happens to be an update so you dont need to copy around files and end up possibly wrecking your setup.
Stars: ✭ 117 (+317.86%)
Mutual labels:  update
ProgramUpdater
PUF - Program Updater Framework. A library to easier the task of program updating
Stars: ✭ 14 (-50%)
Mutual labels:  update
disruptor-billing-example
Example LMAX Disruptor spring-boot project that uses disruptor-spring-manager framework
Stars: ✭ 56 (+100%)
Mutual labels:  disruptor

game-executor

采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多线程异步循环调度模型更新,自动处理模型死亡事件进行销毁。 支持将多个updater绑定到同一个更新线程上,减少线程调度。 增加异步event-bus

异步update使用例子

可参考test目录下的AsyncUpdateBusTest.

  1. 生成eventbus,注册react事件模型。
  2. 生成异步线程服务UpdateExecutorService。
  3. 生成异步分配线程LockSupportDisptachThread。
  4. 生成更新服务UpdateService
  5. 生成eventbus监听器. 注册监听器
  6. 生成事件,放入UpdateService更新服务
  7. 进行循环处理

异步update绑定更新线程使用例子

可参考test目录下的AsyncNotifyUpdateTest.

  1. 生成eventbus,注册react事件模型。
  2. 生成异步线程服务UpdateEventExcutorService。
  3. 生成异步分配线程LockSupportEventDisptachThread。
  4. 生成更新服务UpdateService
  5. 生成eventbus监听器. 注册监听器
  6. 生成事件,放入UpdateService更新服务
  7. 进行循环处理

同步event-bus使用例子

可参考test下的SynsEventBusTest.

  1. 生成eventbus,注册react事件模型。
  2. 生成dispatchThread,生成分配线程.
  3. 生成eventbus监听器. 注册监听器
  4. 生成事件,放入eventbus
  5. 进行循环处理

异步event-bus使用例子

可参考test下的AsyncEventServiceTest.

  1. 生成eventbus,注册react事件模型。
  2. 生成AsyncEventService,生成异步event-bus服务.
  3. 生成eventbus监听器. 注册监听器
  4. 生成事件,放入eventbus
  5. 进行循环处理

代码最后通过maven部署

  • 作者qq 330258845
  • QQ群310158485
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].