moutainhigh Goto Github PK
Type: User
Type: User
feign-async提供了异步支持,带你一步一步了解feign深层构造
一个非常简单的feign异常处理器(A very simple feign exception handler)
飞毛腿后台
feiniu wang pet source code
Provides an idempotency barrier for RabbitMQ consumers.
奉节项目
风控推送数据工具包
汽车交易平台、汽车CRM平台
fescar is an easy-to-use, high-performance, java based, open source distributed transaction solution.
支付平台
FiboRule - 实时AI智能决策引擎、规则引擎、风控引擎、数据流引擎。 通过可视化界面进行规则配置,无需繁琐开发,节约人力,提升效率,实时监控,减少错误率,随时调整; 支持规则集、评分卡、决策树,名单库管理、机器学习模型、三方数据接入、定制化开发等;
在 flink 上运行 sql 和 构建数据流的平台 基于 apache flink 1.10.0
通用的文件传输消息组件,主要面向文件传输场景,异步消息,支持断点续传,弱网环境也能保障连网续传,确保数据最终送达
zuul-filter 提供数据封装与浅层的业务校验服务
背景 存在n个资金池p,比如{p1,p2,...pn},其中pn为当前资金池的余额,且余额不一定相同; 现在向资金池中进行支出一定的资金额度,比如f,f可以进行自由分割 问题 考虑一个过程、函数或者服务,使得支出的f能够从各个资金池中获取,支出完成后,资金池之间的差额达到最小。 会考察编码设计、容错考虑、单元测试完备性等。 最终支出后可以容忍为负债状态,即pn < 0。 回答方式 可以考虑在github中建立工程,提供工程的地址 也可以将工程在附件中发送回来 在2018年11月10日,晚9点之前,回复邮件 示例 AllocationSupplyResult,分配结果 fundPoolId,资金池标示 preAllocationShotfalls,支出前 allocationShotfalls,支出数量 afterAllocationShotfalls,支出后 (1)随机构造20个资金池,补充资金0 AllocationSupplyResult [fundPoolId=0, preAllocationShotfalls=20, allocationShotfalls=0, afterAllocationShotfalls=20] AllocationSupplyResult [fundPoolId=1, preAllocationShotfalls=47, allocationShotfalls=0, afterAllocationShotfalls=47] AllocationSupplyResult [fundPoolId=2, preAllocationShotfalls=21, allocationShotfalls=0, afterAllocationShotfalls=21] AllocationSupplyResult [fundPoolId=3, preAllocationShotfalls=41, allocationShotfalls=0, afterAllocationShotfalls=41] AllocationSupplyResult [fundPoolId=4, preAllocationShotfalls=29, allocationShotfalls=0, afterAllocationShotfalls=29] AllocationSupplyResult [fundPoolId=5, preAllocationShotfalls=9, allocationShotfalls=0, afterAllocationShotfalls=9] AllocationSupplyResult [fundPoolId=6, preAllocationShotfalls=76, allocationShotfalls=0, afterAllocationShotfalls=76] AllocationSupplyResult [fundPoolId=7, preAllocationShotfalls=97, allocationShotfalls=0, afterAllocationShotfalls=97] AllocationSupplyResult [fundPoolId=8, preAllocationShotfalls=29, allocationShotfalls=0, afterAllocationShotfalls=29] AllocationSupplyResult [fundPoolId=9, preAllocationShotfalls=66, allocationShotfalls=0, afterAllocationShotfalls=66] AllocationSupplyResult [fundPoolId=10, preAllocationShotfalls=60, allocationShotfalls=0, afterAllocationShotfalls=60] AllocationSupplyResult [fundPoolId=11, preAllocationShotfalls=92, allocationShotfalls=0, afterAllocationShotfalls=92] AllocationSupplyResult [fundPoolId=12, preAllocationShotfalls=94, allocationShotfalls=0, afterAllocationShotfalls=94] AllocationSupplyResult [fundPoolId=13, preAllocationShotfalls=27, allocationShotfalls=0, afterAllocationShotfalls=27] AllocationSupplyResult [fundPoolId=14, preAllocationShotfalls=43, allocationShotfalls=0, afterAllocationShotfalls=43] AllocationSupplyResult [fundPoolId=15, preAllocationShotfalls=75, allocationShotfalls=0, afterAllocationShotfalls=75] AllocationSupplyResult [fundPoolId=16, preAllocationShotfalls=41, allocationShotfalls=0, afterAllocationShotfalls=41] AllocationSupplyResult [fundPoolId=17, preAllocationShotfalls=74, allocationShotfalls=0, afterAllocationShotfalls=74] AllocationSupplyResult [fundPoolId=18, preAllocationShotfalls=64, allocationShotfalls=0, afterAllocationShotfalls=64] AllocationSupplyResult [fundPoolId=19, preAllocationShotfalls=61, allocationShotfalls=0, afterAllocationShotfalls=61] 可以看到allocationShotfalls均为0。 (2)随机构造20个资金池,支出5000 AllocationSupplyResult [fundPoolId=0, preAllocationShotfalls=20, allocationShotfalls=216, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=1, preAllocationShotfalls=47, allocationShotfalls=243, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=2, preAllocationShotfalls=21, allocationShotfalls=217, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=3, preAllocationShotfalls=41, allocationShotfalls=237, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=4, preAllocationShotfalls=29, allocationShotfalls=225, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=5, preAllocationShotfalls=9, allocationShotfalls=205, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=6, preAllocationShotfalls=76, allocationShotfalls=272, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=7, preAllocationShotfalls=97, allocationShotfalls=293, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=8, preAllocationShotfalls=29, allocationShotfalls=225, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=9, preAllocationShotfalls=66, allocationShotfalls=262, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=10, preAllocationShotfalls=60, allocationShotfalls=256, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=11, preAllocationShotfalls=92, allocationShotfalls=288, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=12, preAllocationShotfalls=94, allocationShotfalls=290, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=13, preAllocationShotfalls=27, allocationShotfalls=223, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=14, preAllocationShotfalls=43, allocationShotfalls=239, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=15, preAllocationShotfalls=75, allocationShotfalls=271, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=17, preAllocationShotfalls=74, allocationShotfalls=270, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=16, preAllocationShotfalls=41, allocationShotfalls=237, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=19, preAllocationShotfalls=61, allocationShotfalls=257, afterAllocationShotfalls=-196] AllocationSupplyResult [fundPoolId=18, preAllocationShotfalls=64, allocationShotfalls=260, afterAllocationShotfalls=-196] 可以看到经过分配,afterAllocationShotfalls已经平均各个资金池了 (3)构造10个资金池,从1 到 10的资金,支出15 AllocationSupplyResult [fundPoolId=1, preAllocationShotfalls=1, allocationShotfalls=0, afterAllocationShotfalls=1] AllocationSupplyResult [fundPoolId=2, preAllocationShotfalls=2, allocationShotfalls=0, afterAllocationShotfalls=2] AllocationSupplyResult [fundPoolId=3, preAllocationShotfalls=3, allocationShotfalls=0, afterAllocationShotfalls=3] AllocationSupplyResult [fundPoolId=4, preAllocationShotfalls=4, allocationShotfalls=0, afterAllocationShotfalls=4] AllocationSupplyResult [fundPoolId=5, preAllocationShotfalls=5, allocationShotfalls=0, afterAllocationShotfalls=5] AllocationSupplyResult [fundPoolId=6, preAllocationShotfalls=6, allocationShotfalls=1, afterAllocationShotfalls=5] AllocationSupplyResult [fundPoolId=7, preAllocationShotfalls=7, allocationShotfalls=2, afterAllocationShotfalls=5] AllocationSupplyResult [fundPoolId=8, preAllocationShotfalls=8, allocationShotfalls=3, afterAllocationShotfalls=5] AllocationSupplyResult [fundPoolId=9, preAllocationShotfalls=9, allocationShotfalls=4, afterAllocationShotfalls=5] AllocationSupplyResult [fundPoolId=10, preAllocationShotfalls=10, allocationShotfalls=5, afterAllocationShotfalls=5]
水滴管家-空中分账
股票金融
项目存放金融公式工具 pmt, fv, ppmt, ipmt, fv, pv, npv, nper
数米基金理财平台
财务系统git迁移
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.