شعار Co Location Provider Selection And Network Topology

Co Location Provider Selection And Network Topology

المجتمع
HimanshuJ16
co-location-provider-selection-and-network-topology

استخدم هذه المهارة لتحديد موقع خادم حساس لزمن الاستجابة بين مرافق الاستضافة المشتركة والروابط بين منصات التداول، مع تفكيك ميزانيات زمن الانتقال في اتجاه واحد وفي الاتجاهين استنادًا إلى فيزياء انتشار الإشارات ومواصفات المعدات المنشورة.

Add to TypingMind

نظرة عامة

الناشرHimanshuJ16
المستودعAlgo-Trading-Skills
اسم المهارةco-location-provider-selection-and-network-topology
النجوم
50
التفريعات
7
الملفات المرفقة
5
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها HimanshuJ16 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Co Location Provider Selection And Network Topology في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/co-location-provider-selection-and-network-topology
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HimanshuJ16/Algo-Trading-Skills.git /tmp/Algo-Trading-Skills
mkdir -p .claude/skills
cp -r /tmp/Algo-Trading-Skills/skills/co-location-provider-selection-and-network-topology .claude/skills/co-location-provider-selection-and-network-topology
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Co Location Provider Selection And Network Topology في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Co Location Provider Selection And Network Topology تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Co Location Provider Selection And Network Topology بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

When to Use

Use this skill when deciding where to put the box for latency-sensitive or cross-venue arbitrage strategies. Placing an equities-futures arbitrage engine in Equinix NY4 (Secaucus) instead of CME's Aurora IL data centre adds thousands of microseconds of propagation delay that no amount of code optimisation recovers. The evaluator turns a candidate list into a defensible comparison: it decomposes each path into propagation, switching and cross-connect delay, computes monthly total cost of ownership (TCO), and produces a ranked, weighted latency-versus-cost score.

When NOT to Use

  • As a substitute for a measured latency figure. This is a procurement-stage model. It computes what physics and published equipment specs permit; it does not model queueing delay, congestion, microburst buffering, serialisation delay, kernel/NIC overhead, or the carrier's actual (usually undisclosed) route. Once a circuit is live, measure it — see tick-to-trade-latency-measurement and colocation-latency-budget-accounting.
  • For tick-to-trade / in-host budgeting. This skill stops at the cage door. Everything from NIC ingress to NIC egress belongs to colocation-latency-budget-accounting and strategy-latency-budget-decomposition.
  • For link-availability decisions. Ranking by mean latency says nothing about jitter or rain fade. A microwave link that is 2 ms faster and unavailable during thunderstorms is an availability decision, not a latency one: see microwave-vs-fiber-network-links-for-cross-market-latency and network-jitter-impact-on-strategy-performance.
  • When the candidate set is one facility. Scores are min-max normalised within the supplied candidate set, so a single candidate always scores 0.0. The score is a relative ranking, never an absolute grade.

Prerequisites

  • Route distance in km between each candidate facility and the target matching engine — the physical cable or line-of-sight path, not the great-circle distance. If only a straight-line distance is known, supply it and set route_circuity_factor (fiber rights-of-way typically run 1.15-1.30x straight line).
  • Link medium per path (FIBER or MICROWAVE), switch hop count, and the port-to-port latency of the switches actually deployed.
  • Monthly commercial terms per facility: rack MRC, committed kW, $/kW, and cross-connect MRC.

Units

  • All latency values are microseconds (µs); propagation constants are µs/km. Distances are km. Costs are monthly recurring in a single currency — the model does no FX conversion.
  • composite_score is a penalty in [0, 1]: lower is better. It is not a quality percentage.

Workflow

  1. Topology Definition: Define candidate FacilitySpec nodes (e.g. NY4, CARTERET, AURORA, LD4) and the NetworkLinkSpec paths from each to its target matching engine. location_code must be unique per facility — the evaluator raises rather than guess which facility a link belongs to.
  2. Choose the Propagation Constant Deliberately:
    • Fiber defaults to the conservative planning convention of $5.0,\mu\text{s/km}$ (200 km/ms). SMF-28 physics is $4.897,\mu\text{s/km}$; the default is deliberately slower so the model never promises a latency the medium cannot deliver.
    • Microwave uses $c/n_{\text{air}} = 3.3366,\mu\text{s/km}$. Do not substitute the widespread "3.33 µs/km (300 km/ms)" shorthand — 300,000 km/s exceeds $c$ and is not achievable.
    • If the carrier publishes a measured one-way figure for the circuit, set propagation_us_per_km and use it. Any override faster than light in vacuum is rejected.
  3. Latency Budget Decomposition (calculate_latency_budget):
    • $\text{Route Distance} = \text{Distance (km)} \times \text{Circuity Factor}$
    • $\text{Propagation} = \text{Route Distance} \times \text{Propagation Constant}$
    • $\text{Switching} = \text{Num Switches} \times \text{Switch Latency}$
    • $\text{Total One-Way} = \text{Propagation} + \text{Switching} + \text{Cross-Connect}$
    • total_rtt_us doubles the one-way figure and is therefore only valid for a symmetric path. If the return leg uses a different medium — the common cross-market pattern of microwave out, fiber back — call calculate_round_trip_budget(outbound, inbound) instead.
  4. TCO Calculation (calculate_facility_tco): $\text{TCO} = \text{Rack MRC} + (\text{kW} \times \text{Rate}) + \text{Cross-Connect MRC}$.
  5. Multi-Attribute Scoring (evaluate_colocation_setup): latency and TCO are min-max normalised across the rankable candidates and combined as $\text{Score} = w_{lat} \times \text{NormLatency} + w_{cost} \times \text{NormCost}$. Weights are rescaled to sum to 1, so (7, 3) and (0.7, 0.3) are identical.
  6. Read the Unranked Tail: a facility with no modelled link is returned with rank=None and avg_rtt_us=None, after the ranked entries, and a warning is logged. It is not a zero-latency winner — it is missing data. Model its links, then re-run.

Full procedure: see references/workflows.md. Standards reference: see references/standards.md. Printable pre-flight checklist: see assets/checklist.md.

Common Pitfalls

  • Assuming Vacuum Speed in Glass: Light in silica fiber travels at $c/n_g$ with $n_g \approx 1.4682$ (Corning SMF-28 at 1550 nm), i.e. $\approx 4.9,\mu\text{s/km}$ — roughly 47% slower than the $3.34,\mu\text{s/km}$ vacuum figure. Over the ~1,200 km Chicago-New Jersey corridor that is a ~1.9 ms one-way error.
  • Quoting Microwave at 300,000 km/s: The "3.33 µs/km" shorthand is faster than light in vacuum. It flatters microwave by ~4 µs on a 1,200 km corridor and, worse, normalises modelling numbers that no physical link can achieve.
  • Feeding Great-Circle Distance into a Route Model: Fiber follows highway and rail rights-of-way; microwave follows a chain of tower sites. Using a map's straight-line distance systematically understates every fiber budget by 15-30%. Set route_circuity_factor, or obtain the carrier's route km.
  • Doubling a One-Way Figure Across an Asymmetric Path: Cross-market topologies routinely run microwave in one direction and fiber in the other. total_rtt_us = 2 x one_way is wrong by the full medium delta in that case.
  • Using a Generic Switch Latency: A Layer-1 switch (Arista 7130: 4 ns port-to-port) and an ultra-low-latency L2/L3 switch (Arista 7150: 350 ns) differ by ~90x per hop. Over four hops that is 1.4 µs — larger than the entire propagation delay of an in-building cross-connect. Use the spec sheet for the hardware actually racked.
  • Treating a Missing Link as Zero Latency: Any scoring model that silently substitutes 0 for "not measured" ranks the least-understood facility first. Missing latency data must stay None and stay unranked.
  • Comparing Scores Across Runs: Normalisation is relative to the candidate set. Adding or removing a candidate changes every other candidate's score. Only compare scores computed in the same call.
  • Ignoring Equal-Length Patching: Failing to request matched-length fiber cross-connects inside a shared cage leaves microsecond-scale skew between servers that the topology model — which sees only the ordered lengths — will never show you.

Verification

  • Propagation constants: $1/c = 3.335641,\mu\text{s/km}$ (vacuum floor); microwave $= 3.336642,\mu\text{s/km}$, which equals the published $\approx 5.37,\mu\text{s}$ per statute mile; fiber physics $= 3.335641 \times 1.4682 = 4.897388,\mu\text{s/km}$.
  • Corridor check: model the ~1,200 km Aurora-Secaucus corridor. Fiber at the 5.0 µs/km convention gives $6{,}000,\mu\text{s}$ (6.00 ms) one-way; microwave gives $4{,}003.97,\mu\text{s}$ (4.00 ms). The microwave figure brackets the ~4.1 ms one-way best case widely reported for that corridor's microwave networks — a secondary-source figure this skill has not independently verified, and one that sits above the model output precisely because real routes add tower hops and radio latency the propagation term alone omits.
  • Scoring check: three facilities with RTTs of 100/550/1000 µs and TCOs of $4,000/$6,000/$3,000, scored at $w_{lat}=0.7$, $w_{cost}=0.3$, must produce penalty scores of 0.10, 0.65 and 0.70 and ranks 1, 2, 3 respectively. Flipping to $w_{cost}=1.0$ must reorder them by cost alone.
  • Run python -m unittest discover -s skills/co-location-provider-selection-and-network-topology/scripts.

Related Skills

  • microwave-vs-fiber-network-links-for-cross-market-latency
  • cross-venue-latency-arbitrage-defensive-design
  • colocation-latency-budget-accounting
  • strategy-latency-budget-decomposition
  • network-jitter-impact-on-strategy-performance

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Co Location Provider Selection And Network Topology؟

استخدم هذه المهارة لتحديد موقع خادم حساس لزمن الاستجابة بين مرافق الاستضافة المشتركة والروابط بين منصات التداول، مع تفكيك ميزانيات زمن الانتقال في اتجاه واحد وفي الاتجاهين استنادًا إلى فيزياء انتشار الإشارات ومواصفات المعدات المنشورة.

لماذا تستخدم Co Location Provider Selection And Network Topology على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Co Location Provider Selection And Network Topology عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Co Location Provider Selection And Network Topology في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/co-location-provider-selection-and-network-topology. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Co Location Provider Selection And Network Topology؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Co Location Provider Selection And Network Topology؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Co Location Provider Selection And Network Topology معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Co Location Provider Selection And Network Topology مجانية؟

نعم. نشرها HimanshuJ16 على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇